package com.sxf.auth.login.vo;

import com.sxf.common.param.BaseVO;
import com.sxf.core.validator.IsIdNo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description: TODO
 * @Author Leo
 * @date 2024/3/2620:01
 */
@Data
public class UpdateSubInfoReq extends BaseVO {
    @ApiModelProperty(value = "用户主键",required = true)
    @NotNull(message = "用户主键不能为空")
    private String pkUser;
    @ApiModelProperty(value = "用户名",required = true)
    @NotNull(message = "用户名不能为空")
    private String userName;
    @ApiModelProperty(value = "身份证号",required = true)
    @NotNull(message = "身份证号不能为空")
    @IsIdNo
    private String idNo;
    @ApiModelProperty(value = "性别")
    private String sex;
}
